package cn.liu.knowledge.mapper;

import cn.liu.knowledge.domain.Embedding;
import cn.liu.knowledge.domain.Paragraph;

import java.util.List;

//@Mapper
public interface EmbedMapper {
    List<Embedding> selectEmbedding();

    void insert(Embedding embedding);

    List<Embedding> similaritySearch(String embedding);


    List<Paragraph> similaritySearchMaxKb(String embedding);
}
